Scalloped potato and green tomato bake