Stabilization of second-order systems by a relay controller with time delay