Optimal real-time pricing and electricity package by retail electric providers based on social learning