Modulated phases in a three-dimensional Maier-Saupe model with competing interactions.