G7, tech giants agree on plan to block jihadist content online