Exploration of stable compounds, crystal structures, and superconductivity in the Be-H system