Liquidus calculations for III-N semiconductors