Coordination number effect of nitrogen atom on the structures and NLO responses: alkaline earth-based alkalides