Nanogap electrodes for molecular electronics and biosensing