Trolls who abuse judges on social media could be prosecuted, suggests Lord Chief Justice