French inflation accelerates to 2.7% as energy costs pressure ECB