Large deviations for the boundary driven symmetric simple exclusion process