Term-values and valence-rydberg mixing in core-excited states, SiH4 and PH3