Porosity and lithology mapping from seismic data