Immobilized bromoperoxidase of Corallina pilulifera as a multifunctional halogenating biocatalyst