Trapping hemoglobin in rigid matrices: fine tuning of oxygen binding properties by modulation of encapsulation protocols