Alignment of liquid crystals : on geometrically and chemically modified surfaces