First-principles theory on electronic structure and floatability of spodumene