The homotopy type of the cobordism category