A two-dimensional, two-sided Euler inversion algorithm with computable error bounds and its financial applications