Shaping substrates at the nanoscale for single cell characterization