Possible resolution of the B -> pi pi, pi K puzzles