Elastic scattering of polarized 3He particles by16O and 40Ca