Young people in Britain are less likely to be having sex than in the past, but many of them are sending or receiving sexual images and consuming pornography, a new study says.