The decomposition of the oxalate precursor and the stability and reduction of the YBa2Cu4O8 superconductor studied by TG coupled with FTIR and by XRD