Borussia Dortmund have announced the signing of former Germany international centre-back Manuel Friedrich.