HOMOCLINIC SOLUTIONS FOR A CLASS OF NONLINEAR SECOND-ORDER DIFFERENTIAL EQUATIONS WITH TIME-VARYING DELAYS