Manipulation of optical properties in thin tetradymite layers