Direct formation of highly tunable and biocompatible protein microparticles