Density-functional study on the robust ferromagnetism in rare-earth element Yb-doped SnO2