Top quark mass measurement using the template method in the lepton plus jets channel at CDF II