Twitter, Facebook, YouTube and Microsoft sign EU pledge to combat online hate speech 'within 24 hours'