An exact determination of the mean dwell time based on the quantum clock of Salecker and Wigner