Circuits, Bond Graphs, And Signal-Flow Diagrams: A Categorical Perspective