Molecular hydrogen in the damped Lyman α system towards GRB 120815A at z = 2.36