A unified extension of the warming-beam and Lax-Wendroff schemes