Simulating the circumstellar H_2CO and CH_3OH chemistry of young stellar objects using a spherical physical-chemical model