Functionalization of single-crystal silicon and silicon carbide surfaces via amine and alcohol groups