England’s pupils have moved into the top five for science in international rankings.