EXCLUSIVE: The Department for Education is sitting on a named database of over 3 million students’ and graduates’ sexual orientation and religion. Thousands of students weren’t told about it