Bond Graphs for Flexible Multibody Systems