Plasticity of morphological traits in response to social conditions in a simultaneous hermaphrodite