Image interpretation for transmission electron microscopy of thin semiconductor layers and interfaces