A Method for the production of bioadhesive compact matrices