Hausdorff dimension of certain sets arising in Engel continued fractions