Four-dimensional pseudo-Riemannian g.o. spaces and manifolds