A flexible method of carbonate determination using an automatic gas analyzer equipped with an FTIR photoacoustic measurement chamber