Reciprocity in magnetic force microscopy