The preparation and properties of “porous silicon–nickel ferrite” nanoheterocomposites for gas detectors