Equations of motion for post-mortem sinking of cephalopod shells