Proposed online safety laws pose ‘profound dangers to press freedom’