The Grothendieck-Lefschetz theorem for normal projective varieties