Sir Nick Clegg has defended Facebook's stance on freedom of expression as the social network faces a major advertising boycott.