Phase diagram of a QED-cavity array coupled via a N-type level scheme