Coating made of silicon or Si-based alloys