A Bulgarian officer was shot by suspected migrant traffickers on the Turkish border, officials say.