Properties of the dwell time and the transmission and reflection times for resonant tunneling