Layered Dish with Potatoes, Spinach, and Cottage Cheese