Dollar rallies as Greek deal renews focus on Fed rate hike