Combating infectious diseases and cancer with precision vaccines