Given below are some pairs of statements. Combine each pair using if and only if :
(i) p : If a quadrilateral is equiangular, then it is a rectangle.
q : If a quadrilateral is a rectangle, then it is equiangular.