Theoretical considerations on the design of three-beam X-ray monochromators for synchrotron radiation