QCD+QED lattice calculation of hadronic decay rates