The control of heteromorphosis in Planaria maculata