Response to environmental gases of BaCoO3 nanowires prepared by a microwave-assisted colloidal method