Finite-element simulation for X-ray volume diffractive optics based on the wave optical theory.