Tilt stability of arbitrary aspect ratio ion rings