Integrability conditions for systems of two equations of the form ut=A(u)uxx+F(u, ux). I