Social media giants 'working against' journalists says BBC digital director