Supersonic and subsonic shock waves in the unitary Fermi gas