Wawrinka beats Nadal, wins Australian Open