Planning horizon affects prophylactic decision-making