A novel method for charge integration in external beam TTPIXE. Application to analyses of biological materials