Oil hits three-month high over hopes for output cuts