The unsteady expansion and contraction of a long two-dimensional vapour bubble between superheated or subcooled parallel plates