Preparation and luminescence characteristics of the europium and terbium complexes incorporated into a silica matrix using a sol–gel method