Improvement of rare-earth complex electroluminescence by using organic–inorganic heterostructure