Protecting children by scanning encrypted messages is 'magical thinking', says Cambridge professor