Unraveling the origin of magnetism in mesoporous Cu-doped SnO₂ magnetic semiconductor