High-rate microbial production of nitrous oxide for energy generation