Coupling a titanium dioxide based heterostructure photoanode with electroless-deposited nickel-phosphorus alloy coating on magnesium alloy for enhanced corrosion protection