Determination of maximum tilt angle from analytic signal amplitude of magnetic data by the curvature-based method