Inferring effects of mutations on SARS-CoV-2 transmission from genomic surveillance data