Text this: A Self-Powered Density-Based Device for Automatic Mixed-Oil Cutting in Field Pipelines