Strain engineering in single-, bi- and tri-layer MoS2, MoSe2, WS2 and WSe2