On parallel hypersurfaces in the elliptic and hyperbolic n-dimensional space