Algorithm for optimized mRNA design improves stability and immunogenicity