A unifying framework for analysing offsetting capital flows and sterilization: Germany and the ERM