Centrica Agrees to Buy Stake in E.D.F.'s British Energy