Scattering of a few-cycle laser pulse by a plasma layer: the role of the carrier-envelope phase difference at relativistic intensities