Self-templated transformation of Co-ZIF-L into hierarchical porous CoS2/Co-Ni LDHs with improved electrochemical activities.