Rotational cooling in a supersonic expansion of ammonia