Submanifolds in five-dimensional pseudo-Euclidean spaces and four-dimensional FRW universes