Spatiotemporally resolved protein synthesis as a molecular framework for memory consolidation