Error analysis of incremental electron correlation calculations and applications to clusters and potential energy surfaces