Correlation of solar decimetric radio bursts with X-ray flares