Performance characteristics of 4-port in-plane and out-of-plane in-line metasurface polarimeters