Spectrophotometric monitoring system for continuous heavy metal detection in water environment