Membrane mechanics of pearled axon morphologies