Coupling of finite elements and boundary elements methods for study of the frictional contact problem