All solutions to the constant quantum Yang-Baxter equation in two dimensions