Three dimensional BiOX (X=Cl, Br and I) hierarchical architectures: facile ionic liquid-assisted solvothermal synthesis and photocatalysis towards organic dye degradation