Microfoundations of Capabilities