Functionalization of silicon step arrays II: Molecular orientation of alkanes and DNA