IHOP franchises to pay $700k, create HR department after sex harassment suit