Boosting the stability and photoelectrochemical activity of a BiVO4 photoanode through a bifunctional polymer coating