Energetics of ion conduction through the gramicidin channel