Medium-spin levels and the character of the 20.4 ns isomer in 145Gd