Investment fund sales turn negative in second quarter