Structure and dynamics studies of membrane and non-membrane proteins using NMR and MD simulations