Measurement of coherency states of metal—ceramic interfaces by HREM image processing