King Charles pelted with eggs in York