Dense subgraph detection on multi-layered networks