India police detain five over temple firework disaster