Inversion of seismic velocities for the pore aspect ratio spectrum of a rock