The GAPS Programme with HARPS-N at TNG. XIX. Atmospheric Rossiter-McLaughlin effect and improved parameters of KELT-9b