Apache reports steep fall in quarterly profit as output declines