Hardy inequalities with boundary singularities