Algerian court upholds jail terms for two journalists