Influence of Metal Foam Properties on Performance of Polymer Composite Spur Gear