Show product weight on category pages

This code displays the weight (if set) of each product on the category pages.