The Duke and Duchess of Cornwall have spoken to bereaved relatives and emergency service crews in Birmingham following the riots.