Static and dynamic properties of polymer brushes at moderate and high grafting densities: A molecular dynamics study