Two people have been rescued by helicopter after heavy thunderstorms led to "major flooding" in a coastal village in Cornwall.