Negative chemotaxis in Dictyostelium and Polysphondylium