The Czech Republic remain on course to defend their Fed Cup title after beating Germany to reach the semi-finals.