Flexible allocation to male and female functions in hermaphrodites: a comparison among three polychaete worm species 978-88-6655-347-2