Formation energies and relative stability of perfect and faulted dislocation loops in silicon