Resonant Metagratings for Spectral and Angular Control of Light for Colored Rooftop Photovoltaics