Real Madrid beat San Lorenzo to lift Club World Cup