Museums turn to licensing deals to bolster finances as costs rise