Method of obtaining jellied confectionery products