State pool safety law takes effect this week