Bavarian minister says German border controls could last for weeks