A Hartlepool primary school has been granted a prestigious national award for it efforts to protect the environment.