A Generalized Phase Space Optical Analysis of X-Ray Optical Systems Using Crystal Monochromators