A 3D non-hydrostatic model for wave interactions with structures using immersed boundary method