Analysis and forecast of COVID-19 spreading in China, Italy and France