Relationship between the structural and magnetic properties of Co-doped SnO₂ nanoparticles