Representations of braid groups and the quantum Yang-Baxter equation