First principle electronic, structural, elastic, and optical properties of strontium titanate