Direct laser writing of three-dimensional photonic-crystal templates for telecommunications