Biosensing using arrays of vertical semiconductor nanowires: mechanosensing and biomarker detection