A posteriori error analysis of component mode synthesis for the frequency response problem