Flow of light in metamaterials based on nematic fluids : doctoral thesis