Sheaves of slice regular functions