YY Draconis and V709 Cassiopeiae: two intermediate polars with weak magnetic fields