Free field realizations of WZNW models. The BRST complex and its quantum group structure