Rafael Nadal withdraws from ATP finals with injury