Magnetic nanostructures from block copolymer lithography: Hysteresis, thermal stability, and magnetoresistance