El Niño as a mediator of the solar influence on climate