A shell-model calculation of the odd-mass tin isotopes