A direct demand modeling framework for traffic volume and speed prediction