Energetics and hierarchical interactions of metal-phthalocyanines adsorbed on graphene/Ir(111)