Renormalization-group study of Bose polarons