Police in Scotland have arrested 77 people after more than 500 children were identified as potential victims of online sexual abuse.