Regularity of solutions to the liquid crystals systems in and