Analysis of the discrete Beck method of solving ill-posed parabolic equations