Display total weight on cart and checkout pages

This code displays the total cart weight to the customer on the cart and checkout pages.