Periodic lattice distortions as a result of lattice mismatch in epitaxial films of two‐dimensional materials