The UK's higher education regulator advised schools that it might be time to retire take-home essays and open book exams.