Free-floating magnetic microstructures by mask photolithography