Northern rail could lose franchise after year of passenger misery