Nonlinear nanophotonics and bound states in the continuum