Alpha and proton decay of the isoscalar E2 resonance in 16O and 40Ca