Effect of sex and gender on drug-seeking behavior during invasive medical procedures1