The Prince and Princess of Wales were greeted by a large crowd of well-wishers when they visited Carrickfergus.