Modeling pore structures and airflow in grain beds using discrete element method and pore-scale models