Find all real values of $p$ such that (x+1)(x-2p) has a minimum value of 0 over all real values of $x$.