Crystal stabilities and electronic properties of thorium silicide under ambient conditions and high pressures from a first-principles study