Groups across the north of Scotland are to receive a share of £1.3 million to support maritime projects within local communities.