Monitoring of N-doped organic xerogels pyrolysis by TG-MS