Toward a dynamic developmental model of the role of parents and peers