Analysis and Simulation of Planar Mechanism Systems Using Bond Graphs