Zeros of regular functions of quaternionic and octonionic variable: a division lemma and the camshaft effect