Fluidic shaping of optical components