School pupils and university students across Britain walked out of lessons on Friday as part of a global movement calling for action on climate change.