Surface-mounted junction and connection boxes