Inner-shell ionization by ultrarelativistic electrons