Jenna Elfman talks about returning to ABC for Imaginary Mary