Ofcom to regulate social media content as Government insists plan protects freedom of expression