Deposition of bolus and continuously inhaled aerosols in rhythmically moving terminal alveoli