X-ray irradiation in low-mass binary systems