Path integral Monte Carlo study of He-4 clusters doped with alkali and alkali-earth ions