Two people were killed in a shooting in the eastern German city of Halle and a suspect was arrested, police said.