Capillary rise and condensation in a cone as an illustration of a spinodal