Nadal, Halep win amid shock defeats at Australian Open