Decision problems for linear and circular splicing systems