THE ABDUS SALAM INTERNATIONAL CENTRE FOR THEORETICAL PHYSICS THE GENERALIZED ABEL-PLANA FORMULA. APPLICATIONS TO BESSEL FUNCTIONS AND CASIMIR EFFECT