Mother and baby products retailer Mothercare is to close all 79 of its UK stores and shift its focus to its international business, with the potential loss of around 2,800 jobs.