The Mechanics of Redshift and Blueshift Revisited