French inflation slows more than expected in June as energy costs fall