Distinguished bases of simple singularities