Penalized Regression Methods For Interaction And Mixed-Effects Models With Applications To Genomic And Brain Imaging Data