Localization of Fermions on a Thick Brane in Six-Dimensional Spacetime