Ten people arrested as part of a sex offence investigation into members of a religious group have been released on bail.