Co‐doping graphene with B and N heteroatoms for application in energy conversion and storage devices