Finite element modelling of exterior electromagnetic problems