The evolution of close binary stars