Measurement of the top quark mass using template methods on dilepton events in pp̄ collisions at √s=1.96TeV