King Charles and Queen Camilla were welcomed by hundreds who packed the streets and crowded onto the lawns of a church in Sydney, marking the first public engagement on their royal visit.