William and Kate attend charity polo match