Value distribution of Hecke eigenforms and moments of L-functions