Charge renormalisation in a mean-field approximation of QED