On a fractional Caputo–Hadamard problem with boundary value conditions via different orders of the Hadamard fractional operators