The reciprocity principle in acoustics and its application to the calculation of sound fields of bodies