Large-angle α particle emission in 12C+12C and 16O+12C reactions