Proton escape widths of isobaric analog and Gamow-Teller resonances