Chelsea strike twice in stoppage time to secure a dramatic victory just as Crystal Palace stood on their brink of their first Premier League win under new manager Thomas Frank.