Weak and variational formulations for BIEs related to the wave equation