England's qualifications regulator Ofqual warned students that using artificial intelligence to cheat on coursework could result in disqualification.