Top US govt science adviser resigns over bullying accusations