Inverse-photoemission spectroscopy of iron-based superconductors NdFeAsO1−δ and Ba(Fe1−xCox)2As2