Shell-model calculation of non-normal parity states in mass 39, 40 and 41 nuclei