Brexit has worsened shortages of specialist doctors, says think tank