Independences of operator algebras and joint spectrum of operators