49ers promote Klay Kubiak to offensive coordinator and replace Brian Griese as QBs coach