φ and K mesons in hot dense matter