Optimization and characterization of a homogeneous carboxylic surface functionalization for silicon-based biosensing