Nottingham Forest have signed Nigeria forward Taiwo Awoniyi from Union Berlin for a club-record fee in the region of £17.5m.