Pseudo-spherical and pseudo-hyperbolic submanifolds via the quadric representation, I