Eigenfunctions of the Hardy-Littlewood maximal operator