Boron and nitrogen doping of graphene via thermal exfoliation of graphite oxide in a BF3 or NH3 atmosphere: contrasting properties