Demonstration of a 3-bit optical digital-to-analog converter based on silicon microring resonators