b→sγ and b→sg: a theoretical reappraisal