Goldman Sachs profits hurt by weak investment banking performance