Einstein-Euler-Heisenberg theory and charged black holes