Mechanism of porosity development and defect engineering in chemically activated woven carbon fibres