Bifunctional nanostructure of magnetic core luminescent shell and its application as solid-state electrochemiluminescence sensor material.