One-step self-assembly of magnetic nanoparticles with amphiphilic copolymer for construction of magnetically responsive photonic crystals based on steric hindrance.