Shell-model calculations on the N = 82 odd-proton nuclei (I)