Social media companies need to give their data to independent researchers to better understand how to keep users safe