Theory of strain in single layer transition metal dichalcogenides