Sandpile groups of Eulerian digraphs and an explicit presentation for the group of units in F_p[Z_n]