Tricritical points in systems with random fields