Left semi-braces and solutions to the Yang-Baxter equation