McDermott profits grow as it nears merger, rejects hostile bid