Ham and Cheese Hasselback Potatoes