The impacts of recent tax legislation on dividend policy and investment