Core-collapse supernovae in dense environments - particle acceleration and non-thermal emission