A family of bears has been captured on film trying – and failing – to climb a tree in the Spanish Pyrenees.