Roger Federer, Nadal one match away from Shanghai Masters showdown