Controlling the parameters of ion bombardment in preparing solid-lubrication coatings with improved properties