Controlled size reduction and its underlying mechanism to form solid-state nanopores via electron beam induced carbon deposition