Structure of bacteriorhodopsin ground state before and after X-ray modification