Structural and functional comparisons between vanadium haloperoxidase and acid phosphatase enzymes