Dense gas in nearby galaxies XV. Hot ammonia in NGC 253, Maffei 2 and IC 342