Study of phase transitions from short-time non-equilibrium behaviour