Trade versus aid: donor generosity in an era of globalization