Can desert be turned into fertile oases using nothing but seawater and sunshine? Yes, discovers Fred Pearce on a trip to Qatar – but at a price