Germany's government announced plans to impose tighter controls at all of the country's land borders in what it called an attempt to tackle irregular migration and protect the public from threats such as Islamist extremism.