Partitioning to elastic and inelastic processes of the energy deposited by low energy ions in silicon detectors