Engineering phase transformation of cobalt selenide in carbon cages and the phases’ bifunctional electrocatalytic activity for water splitting