Magnetic structure and magnetoresistance of patterned epitaxial iron thin films: The influence of shape and magnetocrystalline anisotropy