Characterization and application of vertical nanopillar-based sensors for probing cellular functions