Valence states of Yb in Yb5Si3