SHG from Si surfaces using a length-gauge formalism