Generalized Peaceman-Rachford splitting method for separable convex programming with applications to image processing