Impact of risky investments on the solvency of insurers in a model with stochastic premiumsстатья