Automated combinatorial chemistry on solid phase