Quantifying the uncertainties of chemical evolution studies II. Stellar yields