Time‐dependent orbifolds and string cosmology