Five people died and three were injured after falling over the side of a lifeboat from a cruise ship docked in the Canary Islands.