Absolutely stable difference scheme for a general class of singular perturbation problems