Tuning the conformation and mechanical properties of silk fibroin hydrogels