Adhesion measurement of thin films, thick films and bulk coatings