Two people have been hospitalised in the German city of Hamburg after returning from treating patients with infectious diseases abroad.