Oil prices rise as investors track Greece and Iran