Preparation, processing and applications of protein nanofibers