Lipsome-based optical sensor for general anesthetics: implementation of phase transition sensing