Diffusion of hydrogen from a microwave plasma into diamond and its interaction with dopants and defects