Elastic electron scattering with short range correlations in 4He and 16O