Coating made of indium or In-based alloys