A magnetron injection gun with extraction of reflected electrons