Coating made of germanium or Ge-based alloys