Determination of protein structure and dynamics