Molecular and microscale bioengineering for diagnostics and therapeutics