Caramelized onion, spinach, and cheddar flaky pastries