Zaslat SMS: A structural equation model for imaging genetics using spatial transcriptomics