Dynamical homeotropic and planar alignments of chromonic liquid crystals