Ordinal knowledge and spatial coding of continuous and discrete quantities in infancy