Homological mirror symmetry for singularities