Real business cycles in an open economy: An application to Germany