Immobile hat-trick sinks Livorno