Fourth-order nonlinear evolution equations for surface gravity waves in the presence of a thin thermocline