Method for the production of a biocompatible polymer-ceramic composite material with a predetermined porosity