A coalgebraic take on regular and $ω$-regular behaviours