Taking a cue from lightning, eco-friendly reactor converts air and water into ammonia