Modelling the angular behaviour of the total solar energy transmittance of windows