Wawrinka beats Federer to win Monte Carlo title