Hours and wages: A bargaining approach