Combined study of the gamma-ray strength function of 114Cd with (n,γ) and (γ,γ’) reactions