Real Madrid have confirmed that Rafael Benitez is their new coach, replacing the sacked Carlo Ancelotti at the Santiago Bernabeu.