UBVRI photometry of DQ Her (N 1934). II: Physical properties of the system