Evaluation method of adhesion of the functional layer to the substrate using acoustic emission