Oil prices have fallen as Iran and major western powers said they were closer than ever to a landmark nuclear deal that would lift sanctions.