Boys can have periods too, children to be taught in latest victory for transgender campaigners