Roger Federer and Rafael Nadal roll back years for unexpected encore