Goldman Sachs profit falls on investment banking weakness, higher costs