Generic inner projections of projective varieties and an application to the positivity of double point divisors