Dissecting causal relationships and molecular mechanisms in disease using genetic risk profiles