Entropy generation in ultrafiltration processes