X-ray flux enhancement in thin-film waveguides using resonant beam couplers.