Mucoadhesive xyloglucan-containing formulations for medical devices and pharmaceutical formulations