Unraveling the mechanism of biomimetic hydrogen fuel production - a first principles molecular dynamics study.