Stability of rapidly evaporating droplets and liquid shells