Van der Waals interaction between an atom and a solid surface