A nonradial bifurcation result with applications to supercritical problems