Correlation between magnetization performance and magnetic microstructure of patterned permalloy films fabricated by microcontact printing