Cohesive and superconducting properties of La-In compounds from electronic-structure calculations