Pope takes a swipe at state ideology in Cuba