A Multi-Period Market Design for Markets with Intertemporal Constraints and Nonconvexity