Nuclear, chemical and mechanical instability and the liquid-gas phase transition in nuclei