Thermoelectric properties of bismuth nanowires in a quartz template