Turnaround efforts at Mothercare have started to pay off after the UK retailer swung to its first half-year underlying profit since 2010/11.