Pencils of fermat hypersurfaces and Galois cyclic covers of the projective line