German state of Bavaria in talks with Intel on chip megafactory