Two passenger trains have collided in the German state of Bavaria, with police saying at least ten people have been killed and scores injured.