Preparation and luminescence properties of ternary europium complex and its silica-based composites