A general model to predict germination and safe storage time of crop seeds