Neil Lennon resigns as Celtic manager