Laser-based ammonia sensor for livestock monitoring and agricultural emission monitoring with NH3 measurement, H2O compensation and compact design.