Mendelian randomization analysis of case‐control data using structural mean models