Teachers assessing pupils could replace formal exams, study says