The detection of molecular gas in the central galaxies of cooling flow clusters