derivation of phase rule pdf