The effect of residual mechanical stresses and strains on the superconductivity of heteroepitaxial layers of Nb on α-Al2O3