Structural phase transition and related properties of calcium chalcogenides