A Dirichlet problem for the Laplace operator in a domain with a small hole close to the boundary