On the electron diffraction contrast of coherently strained semiconductor layers