Determining day length and temperature regulation of flowering: a molecular and modelling approach