Measurements of phi meson production in relativistic heavy-ion collisions at the BNL Relativistic Heavy Ion Collider (RHIC)