Prince William and Kate make friends with cockapoo Alfie on hospital visit