Bivectors and Waves in Mechanics and Optics