Boundary singularities and boundary conditions for the Fokker-Planck equations