Structure and thermoelectric property of bulk CaMgSi intermetallic compound