Consistency Equations for the Stresses in Isotropic Elastic and Plastic Materials