Gunman kills two in livestreamed attack at German synagogue