Equilibrium shapes and stability of captive annular menisci