Exploring the energy landscape of small peptides and proteins by molecular dynamics simulations