School uses webcams on laptops to spy on pupils outside of school