Deformations Of The Scalar Curvature And The Mean Curvature