Permaul, Warrican give Windies strong footing in second Test