Hedge funds gain in May as bonds, currencies fall