Abundance analyses of type II cepheids in globular clusters