The dollar hovered near a 29-month high against the euro after the Greek vote triggered the parliament’s dissolution.