Rational design on 3D hierarchical bismuth oxyiodides via in situ self-template phase transformation and phase-junction construction for optimizing photocatalysis against diverse contaminants