Phononic crystals for liquid sensor applications