A £3m fund will support Scottish island businesses and community organisations affected by ferry disruption and additional costs.