Two Freedericksz transitions in crossed electric and magnetic fields