Absorption of millimeter-band CO and CN in the Early Universe: molecular clouds in the radio galaxy B2 0902+34 at redshift 3.4