Isometric embedding and Darboux integrability