Estimation of hypocentral parameters of local earthquakes when crustal layers have constant P -velocities and dipping interfaces