Er3+-activated sol–gel silica confined structures for photonic applications.