Australia's government has pledged to introduce what it described as "world-leading" legislation to ban children under the age of 16 from social media.