Pseudopotential study of the ground and excited states of Yb2