Closed and Open Economy Models of Business Cycles with Marked Up and Sticky Prices