First Quantum profit down even as output rises, costs fall