Ringgit closes higher against greenback