I am inclosing a patio which already has a metal roof. 2x4 purlins were used and on certain days condensation would form on the underside of the metal, maybe more so in the winter. I'm hoping I don't have to remove the metal and put down some decking. I thought about putting some foam panels above the rafters between the purlins and then 2x6 insulation between the rafters. Will this stop the condensation from forming?