Freedericksz transition in hybrid aligned nematic liquid crystal cell