The rigorous wave optics design of diffuse medium reflectors for photovoltaics