Gave UGC permission to conduct exams, home ministry tells Supreme Court