Optical detection of ammonia inside a stack: Comparison of different techniques