Scalar perturbations on Lemaître-Tolman-Bondi spacetimes