A Westerbork 1415 MHz survey of radio sources. V - Spectrophotometric observations of a sample of the stellar identifications