Direct optical detection in fragment-based screening