Purification and characterization of tannase from Paecilomyces variotii: hydrolysis of tannic acid using immobilized tannase