Half-metallic ferromagnetism in rocksalt NaN and KN from first principles