Modelling the life cycle of Erysiphe necator