Yu-Shiba-Rusinov bands in a self-assembled kagome lattice of magnetic molecules