Cosmologies with null singularities and their gauge theory duals