A knife attack that killed two people in the Bavarian city of Aschaffenburg has left a local community in grief, with the city's mayor warning of a "spiral of violence and hatred." An Afghan suspect is in custody.