Method of setting reserved subframes for resource pool, user equipment, and base station