Man behind 3 area pharmacy robberies caught, police say