Electronic modulation of CoP nanoarrays by Cr-doping for efficient overall water splitting