Magnetic Properties and the Electric Field Gradients of Fe4N and Fe4C