Text this: First-principles study of structures, elastic and optical properties of single-layer metal iodides under strain.