Laser measurements of the radiative lifetime of the B2Σ+ state of CN