Connector algebras for C/E and P/T nets' interactions (Logical Methods in Computer Science, 2013)