UK food and clothing retailer Marks & Spencer has reported lower profits for the first half, and announced management changes as it tries to turn around its business.