Cobalt oxide and N-doped carbon nanosheets derived from a single two-dimensional metal-organic framework precursor and their application in flexible asymmetric supercapacitors.