Nucleosynthesis in massive stars