Composition and temperature dependence of the Yb valence in YbMn6Ge6-xSnx studied by RIXS