Hardness determination by means of a FEM-supported simulation of nanoindentation and applications in thin hard coatings