Optical and magnetic properties induced by structural confinement of ternary chalcogenide in AlMCM-41 nanotube