Nadal withdraws from ATP finals due to knee injury