The application of chemical–mechanical polishing for planarizing a SU-8/permalloy combination used in MEMS devices