An analytical approach to understanding the morphologies of glaciovolcanic caves and chimneys