Scalar kinks in warped extra dimensions