TheA2Π andX2Σ states of the CN molecule from the berkeley analysis of the CN red system