Comparative study of Π+ and Π− elastic and inelastic scattering off 18O and 28Si at 180 MeV