Laser spectroscopy of YI: rotational analysis of the C1Σ+–X1Σ+ system