New magnetic connector for embedding of optical sensors in composite materials