AC and phase sensing of nanowires for biosensing