A Perron–Frobenius theory for block matrices associated to a multiplex network