YY Geminorum. I - Photometry and absolute dimensions