GP who was convicted of attempted murder after impersonating nurse is struck off