SU(3)-breaking effects in kaon and hyperon semileptonic decays from lattice QCD