Martin boundaries of random walks on locally compact groups