Method for manufacturing porous scaffolds for biomedical uses and scaffolds thereof