Dynamic factor demand schedules for labor and capital under rational expectations