US sanctions Nicaragua's ministry, officials over elections