First-principles study on electronic structure and elastic properties of Ti2SC