Path instabilities of a freely rising or falling sphere