Detecting MoS2 and MoSe2 with optical contrast simulation