Physical properties and transmission spectrum of the WASP-74 planetary system from multiband photometry