Nanostructuring and thermoelectric properties of bulk N-type Mg2Si