Boundary point lemmas and overdetermined problems