Shanghai knife attacker kills two, injures children