Gold ends lower as expectations grow for interest-rate hike later this year