added generic function to perform meta-analysis