Nuclear level densities and gamma-ray strength functions in 44,45Sc