Laminar flow of a Harschel-Bulkley fluid in channels of finite width