Finite element analysis of elastic contact problem and its applications for the study of the effect of joint flexibility on free vibration characteristics of machine tool structures