A black/red phosphorus hybrid as an electrode material for high-performance Li-ion batteries and supercapacitors