A numerical study of mesoscale airflow and dispersion over coastal complex terrain