Victoria will follow News South Wales’ lead to introduce a shield law for journalists which will protect confidential sources