Completely monotonicity of class functions involving the polygamma and related functions