Depth distribution of the absorbed energy and dose in various materials irradiated by bremsstrahlung at a maximum energy of up to 1000 MeV