Shell-model calculations with an adjusted surface-delta interaction (I) application to spectroscopic factors inA=24?28 nuclei