Trial by media as a legal problem. A comparative analysis