On the Behaviour of Coalgebras with Side Effects and Algebras with Effectful Iteration