Automated Kjeldahl determination of nitrogen in petroleum