Thin coatings and films hardness evaluation