The American military will close two military bases in the German state of Bavaria by 2015 as part of a planned drawdown of forces stationed in Europe.