Exchange rate determination: The role of factor price rigidities and nontradeables