Lawyers put local authorities on notice over climate inaction