A Monte Carlo study of the mesophases formed by polar bent-shaped molecules