The Royal National Lifeboat Institution (RNLI) saved twice as many lives in Scotland last year than in 2023, new statistics showed.