Thousands of tourists are expected in Portland and Bar Harbor this week as cruise ships make late-summer visits to the Maine ports.