Elastic properties and electronic structures of L12 Co3(Ge,W)