Two-frequency lidar based on an ammonium laser