Agent-based modelling of interdependent critical infrastructures