A study on the influence of boundary conditions in computational homogenization of periodic structures with application to woven composites