Robust term structure estimation in developed and emerging markets