Ammonia - from pollutant to power