Kearney man pleads guilty to attempted murder