Enhanced gauge symmetries and K3 surfaces