Ammonia abundances in comets