German police detain a man they say went on a stabbing rampage in the west German city of Solingen, killing three people and injuring eight others.