Measurements of Magnetic Thin-Film Parameters by the Use of an Automatic Microbalance