Analytical validation of the BEM—application of the BEM to the electrocardiographic forward and inverse problem