Private and public inventive to reduce seasonality: A simple theoretical model