Polarized H, D and 3He targets for particle physics experiments