Statistics for Phenotypic plasticity in Mercurialis annua : the role of signal detection and response in sex determination