Tetratic phase in the planar hard square system