Investigation of the influence of parameters of thin coating on mechanical behavior of the system “coating–substrate”