Modelling photoperiod and temperature responses of flowering in quinoa (Chenopodium quinoa Willd.)