If 2i +pj and 4i -2j are perpendicular, find the value of p.