Electrically Switchable and Flexible Color Displays Based on All-Dielectric Nanogratings