Optimization of miniaturized microwave resonators for kinetic inductance bolometers.