Investigation of wave height and period distributions in coastal environments