Design of high resolution X-ray optical system using dynamical diffraction for synchrotron radiation