Optoelectronic and micromechanical sensors for medical technology and bioanalytics