Range-resolved differential absorption lidar: optimization of range and sensitivity.