Positive pion production on 16O, 28Si and 40Ca by 185 MeV protons