Residential energy markets in Europe: designing effective institutions