Group theoretical analysis of nitrogen-vacancy center's energy levels and selection rules