Moving away from fossil fuels will be costly and slow … but essential, UBS says