Effects of occupant behavior and ventilation on exposure to respiratory droplets in the indoor environment