Structural, electronic, and optical properties of crystalline iodoform under high pressure: a first-principles study.