Evolution of chemical abundances in massive stars. I - OB stars, Hubble-Sandage variables and Wolf-Rayet stars - Changes at stellar surfaces and galactic enrichment by stellar winds. II - Abundance anomalies in Wolf-Rayet stars in relation with cosmic rays