L'Oreal Q2 sales rise 6.3% as haircare demand drives beat