Dad allegedly throws toddler into pool to teach her a lesson