Fitting models predicting dates of flowering of temperate-zone trees using simulated annealing