Capillaries as the components of photonic sensor micro-systems