Bandgap-controlled hollow polyaniline nanostructures synthesized by Mn-dependent nano-confined polymerization.