Rock skeleton models and seismic porosity inversion