Two identical springs of each of force constant k are connected in series and parallel so that they support a mass m. Find the ratio of the periods of the mass in the two systems.