Magnetic anisotropy and porosity of chondrites