Chemical functionalization of surfaces for building three-dimensional engineered biosensors