The Gauss equations and rigidity of isometric embeddings