Ravi Bopara and James Foster both collected long-awaited and emotional centuries after compiling a record sixth-wicket stand of 229 as Essex kept Warwickshire in the field for more than five sessions at a sweltering Chelmsford.