What is a stretch and sweep?

Many women are offered a ‘stretch and sweep’ in late pregnancy. But what is this, why and how is it done, does it work and can you say no?