Nutrient gradients mediate creation of highly resistant layers in structured microbial populations during antibiotic exposures