Bi-linear modal reduction for the dynamic analysis of structures with intermittent contacts and friction