Off shell $κ$-symmetry of the superparticle and the spinning superparticle