Properties of magnetic anomaly and magnetic gradient anomaly curves and their application in quantitative interpretation