Cabin crew and passengers have been taken to hospital after a Ryanair flight was forced to make an emergency landing in Italy.