Bavaria in the tenth and early eleventh centuries