Estimates of solutions for parabolic differential and difference functional equations and applications