Collective Predictive Coding as Model of Science: Formalizing Scientific Activities Towards Generative Science