Notts County claim first-leg advantage at Chesterfield