Efficient and Private Processing of Analytical Queries in Scientific Datasets