Modelling the impact of heat stress on maize yield formation