Electronic structure of a vortex line in a type-II superconductor: Effect of atomic crystal fields.