From topological field theory to deformation quantization and reduction