Lego has reported a slight increase in revenue during the first half of the year but posted lower profits.