Identification of affinely parameterized state–space models with unknown inputs