M&S to make £400m Simply Food investment as profits slump