Optimality conditions under relaxed quasiconvexity assumptions using star and adjusted subdifferentials