The hyperbolic modular double and the Yang-Baxter equation