Risk measures via g-expectations