MAGTRAN: a computer program for the transformation of magnetic and gravity anomalies