Two people seriously injured in rollover accident