A stretched logistic equation for pandemic spreading