Efficient protein production inspired by how spiders make silk