Joint registration of anatomical and functional images for quantitative multimodality imaging