Nadal defeats Thiem to claim fifth Madrid Masters crown