Sex education to be compulsory in England's schools