Globular clusters in early-type dwarf galaxies